#include "mainwindow.h"
#include <QApplication>
#include <QStyleFactory>
#include "motorcontroller.h"
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    // 设置应用样式
    a.setStyle(QStyleFactory::create("Fusion"));

    // 设置调色板
    QPalette palette;
    palette.setColor(QPalette::Window, QColor(240, 240, 240));
    palette.setColor(QPalette::WindowText, Qt::black);
    a.setPalette(palette);
    


    MainWindow w;
    w.show();

    return a.exec();
}

/*



*/
